.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;

    &-thead>tr,
    &-tbody>tr {

      >th,
      >td {
        white-space: pre;

        >span {
          display: block;
        }
      }
    }
  }

  .ant-pro-page-container .ant-pro-page-container-warp-page-header {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .ant-pro-page-container-children-container {
    padding: 0 10px !important;
  }

  .ant-drawer-header {
    padding: 12px !important;
  }

  .ant-drawer-body {
    padding: 0 !important;
    background-color: #fafbfc !important;
  }

  .ant-form-item-label {
    padding: 12px 12px 8px !important;
    color: #697b8c !important;
    font-size: 14px !important;
  }

  .ant-form-item-control {
    padding: 12px !important;
    background-color: #fff !important;
  }

  .ant-pro-table .ant-pro-table-search {
    box-shadow: 0 0 6px #e8e8e895;
    overflow: hidden;
  }

  .ant-pro-query-filter.ant-pro-query-filter {
    padding: 0 !important;
    background-color: #fafbfc !important;
  }

  .search_filter {
    form {
      .ant-pro-query-filter-row:last-child {
        .ant-form-item-control {
          .ant-space {
            flex-direction: column;
            width: 100%;

            .ant-space-item {
              width: 100%;

              >div {
                flex-direction: column;
              }

              .ant-pro-query-filter-collapse-button {
                justify-content: center;
              }
            }
          }
        }
      }
    }
  }

  .ant-drawer-footer {
    >div>div {
      width: 100% !important;
    }
  }

  .ant-pro-table {
    .ant-pro-card .ant-pro-card-body {
      padding-left: 0 !important;
      padding-right: 0 !important;
      background-color: #f7f7f7;
    }

    .ant-table-tbody {
      background-color: #f7f7f7;
    }
  }


  .ant-pro-table-list-toolbar .ant-pro-table-list-toolbar-left {
    margin: 0;
  }

  .ant-pro-table-list-toolbar-container {
    padding: 10px 0 !important;
  }

  .ant-pro-table-list-toolbar-right {
    >div {
      width: 100% !important;
    }
  }

  .custom-table {}

  .custom-table-row {
    position: relative;
    background-color: #fff;

    .ant-table-cell {
      display: flex;
      width: 100%;
      padding: 0 !important;
    }

    .adm-space-item:last-child {
      >td>div {
        width: 100%;
      }
    }
  }

  .ant-table-selection-column {
    // position: absolute !important;
    // right: 10px;
    // top: 10px;
  }

  .ant-pro-form-login-page {
    .ant-form-item-control {
      background-color: transparent !important;
      padding: 0 !important;
    }

    .ant-pro-form-login-page-left {
      margin: 0 10px;
      padding: 0;
      max-width: 100% !important;

      .ant-pro-form-login-page-container {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.13);
        border-radius: 8px;
      }
    }

  }

  .ant-layout-sider-children {
    padding: 10px !important;
    .ant-pro-base-menu-inline .ant-pro-base-menu-inline-item-icon>span {
      font-size: 20px !important;
    }
    .ant-pro-base-menu-inline-item-title {
      font-size: 17px !important;
    }
  }

  .custom-table-collapse {
    .adm-list-body {
      border: 0 !important;
      border-bottom: 1px solid #f7f7f7 !important;
    }
    .adm-list-item-content {
      padding: 0 !important;
      border: 0 !important;
    }
  }
}